package com.uchiha.nova.core.annotation;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.uchiha.nova"})
@ConfigurationPropertiesScan(basePackages = {"com.uchiha.nova"})
@SpringBootApplication
@ComponentScan(basePackages = {"com.uchiha.nova"})
@EnableAsync
public @interface NovaCloudApplication {

}
